﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAL;
using DTO;

namespace BLL
{
    public class CONGTYBUS
    {
        public static DataTable GetListCT()
        {
            CONGTYDAO b = new CONGTYDAO();
            return b.GetListCONGTY();
        }
		public static List<CONGTY> GetListCTs()
		{
			CONGTYDAO b = new CONGTYDAO();
			return b.GetListCONGTYs();
		}
        public static String CreateNewID()
        {
            CONGTYDAO b = new CONGTYDAO();
            return b.CreatenewId();
        }
        public static bool INSERT(CONGTY bc)
        {
            CONGTYDAO b = new CONGTYDAO();
            return b.INSERT(bc);
        }
        public static bool UPDATE(CONGTY bc)
        {
            CONGTYDAO b = new CONGTYDAO();
            return b.UPDATE(bc);
        }
        public static bool DELETE(CONGTY bc)
        {
            CONGTYDAO b = new CONGTYDAO();
            return b.DELETE(bc);
        }
    }
}
